package com.codepilot.server.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("题目信息VO")
public class ProblemVO {

    @ApiModelProperty("题目源")
    private String source;

    @ApiModelProperty("题目ID")
    private int id;

    @ApiModelProperty("题目链接")
    private String url;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("详细内容")
    private String description;

    @ApiModelProperty("难度")
    private String difficulty;

    @ApiModelProperty("提交数")
    private String submissions;

    @ApiModelProperty("通过数")
    private String accepted;

    @ApiModelProperty("通过率")
    private Double acceptanceRate;

}
